package com.ly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.entity.SysRole;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gwq
 * @since 2022-06-07
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    SysRole getByUserId(@Param("userId") String userId);

    SysRole getUserIdRole(@Param("userId") String userId);
}
